package a.j;

import java.awt.*;
import java.awt.geom.Point2D;
import java.util.Map;

public class be
  implements jd.g_, jd.d_, jd.f_
{
  private static final String a = "y.view.PortConfigurationAdapter.TEMPORARY";
  private static final String b = "y.view.PortConfigurationAdapter.PORT";
  private static final ld d = ;
  private final ld e;
  private final boolean f;
  private final boolean h;
  private final boolean i;
  private boolean j;
  static Class k;
  static Class l;
  static Class m;
  static Class n;
  public static int o;
  
  public be(Map paramMap)
  {
    this.e = a(paramMap);
    if (!bool) {}
    this.f = a(k == null ? (be.k = a("a.j.md$l_")) : k, paramMap);
    if (!bool) {}
    this.h = a(l == null ? (be.l = a("a.j.md$c_")) : l, paramMap);
    if (!bool) {}
    this.i = a(m == null ? (be.m = a("a.j.md$t_")) : m, paramMap);
  }
  
  public boolean a()
  {
    return this.j;
  }
  
  public void a(boolean paramBoolean)
  {
    this.j = paramBoolean;
  }
  
  public boolean a(jd paramjd, double paramDouble1, double paramDouble2)
  {
    if ((ld.E) || (this.f)) {
      return a(paramjd).f(paramDouble1, paramDouble2);
    }
    throw new IllegalStateException("No ContainsTest implementation");
  }
  
  public void a(jd paramjd, Graphics2D paramGraphics2D)
  {
    boolean bool = ld.E;
    if ((bool) || (this.i))
    {
      md localmd = a(paramjd);
      if ((bool) || (a())) {
        if (bool) {}
      }
      localmd.e(jd.a(paramjd, paramGraphics2D));
      localmd.e(paramGraphics2D);
      if (!ld.D) {}
    }
    else
    {
      throw new IllegalStateException("No Painter implementation.");
    }
  }
  
  public boolean a(jd paramjd, double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, Point2D paramPoint2D)
  {
    if ((ld.E) || (this.h)) {
      return a(paramjd).b(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D);
    }
    throw new IllegalStateException("No IntersectionTest implementation.");
  }
  
  public Color b()
  {
    return this.e.o();
  }
  
  public void a(Color paramColor)
  {
    this.e.a(paramColor);
  }
  
  public Color c()
  {
    return this.e.p();
  }
  
  public void b(Color paramColor)
  {
    this.e.b(paramColor);
  }
  
  public Color d()
  {
    return this.e.q();
  }
  
  public void c(Color paramColor)
  {
    this.e.c(paramColor);
  }
  
  public c e()
  {
    return this.e.r();
  }
  
  public void a(c paramc)
  {
    this.e.a(paramc);
  }
  
  private md a(jd paramjd)
  {
    boolean bool = ld.E;
    md localmd = new md(this.e);
    localmd.a("y.view.PortConfigurationAdapter.PORT", paramjd);
    localmd.a(jd.d(paramjd));
    if ((bool) || (a())) {
      if (bool) {}
    }
    localmd.e(paramjd.f());
    return localmd;
  }
  
  private static ld f()
  {
    md localmd = new md();
    localmd.a(0.0D, 0.0D);
    localmd.a(null);
    localmd.b(null);
    localmd.c(null);
    while (localmd.x() > 0) {
      localmd.c(localmd.b(0));
    }
    return localmd;
  }
  
  private static ld a(Map paramMap)
  {
    boolean bool = ld.E;
    md.f_ localf_ = md.e();
    if (!bool) {}
    if (!a(n == null ? (be.n = a("a.j.md$r_")) : n, paramMap))
    {
      if (!bool) {}
      paramMap.put(n == null ? (be.n = a("a.j.md$r_")) : n, new md.r_()
      {
        public void a(ld paramAnonymousld, Graphics2D paramAnonymousGraphics2D) {}
      });
    }
    localf_.a("y.view.PortConfigurationAdapter.TEMPORARY", paramMap);
    md localmd = new md(d);
    localmd.e("y.view.PortConfigurationAdapter.TEMPORARY");
    localf_.b("y.view.PortConfigurationAdapter.TEMPORARY");
    return localmd;
  }
  
  private static boolean a(Class paramClass, Map paramMap)
  {
    return paramClass.isInstance(paramMap.get(paramClass));
  }
  
  static Class a(String paramString)
  {
    try
    {
      return Class.forName(paramString);
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError(localClassNotFoundException.getMessage());
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.be

 * JD-Core Version:    0.7.0.1

 */